package lab02.Test15;

/**
 * Created by lenovo on 2017/10/20.
 */
public class Test15 {

    public static void main(String[] args) {
        Graduate zhangsan=new Graduate();
        zhangsan.pay=9000;
        zhangsan.fee=2000;
        if (zhangsan.pay-zhangsan.fee<2000){
            System.out.println("You  need a loan!");
        }else {

            System.out.println("You income is enough！");
        }
    }
}
